package com.example.demo.servicer;

import com.example.demo.mapper.Usermapper;
import com.example.demo.model.UserInfo;
import org.apache.ibatis.type.NStringTypeHandler;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.properties.bind.Name;
import org.springframework.stereotype.Service;

@Service
public class Userservice {
    @Autowired
    private Usermapper usermapper;
    public UserInfo getUserInfoByName( String useName){
        return usermapper.findByName(useName);

    }

}
